import { defineStore } from 'pinia';
import { ref } from 'vue';

export default defineStore('channel', () => {
  const channelId = ref(-1)

  const changeChannelId = (id: number) => {
    channelId.value = id
  }

  return { channelId, changeChannelId }
})